package com.qr.bean.wmyw;

import java.math.BigDecimal;
import java.sql.Timestamp;
import com.baomidou.mybatisplus.annotation.Version;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/13 10:22:10
 * 分离出查询实体
 */
@ApiModel(value = "qr_discount_off", description = "满减优惠")
@TableName(value = "qr_discount_off")
public class QrDiscountOffView implements Serializable {
	@ApiModelProperty(value = "标识id")
	@TableId(type = IdType.AUTO,value = "discount_off_id")
	@NotNull(message = "标识id不能为空")
	private Integer discount_off_id;
	@ApiModelProperty(value = "运营中心id")
	@TableField(value="oc_id")
	private Integer oc_id;
	@ApiModelProperty(value = "店铺/门店id")
	@TableField(value="shop_id")
	private Integer shop_id;
	@ApiModelProperty(value = "满减条件")
	@TableField(value="full_money")
	private BigDecimal full_money;
	@ApiModelProperty(value = "减免金额")
	@TableField(value="off_money")
	private BigDecimal off_money;
	@ApiModelProperty(value = "时间类型:固定日期=1 永久=2")
	@TableField(value="time_type")
	private Integer time_type;
	@ApiModelProperty(value = "开始时间")
	@TableField(value="start_time")
	private Timestamp start_time;
	@ApiModelProperty(value = "结束时间")
	@TableField(value="end_time")
	private Timestamp end_time;
	@ApiModelProperty(value = "创建时间")
	@TableField(value="create_time")
	private Timestamp create_time;
	@ApiModelProperty(value = "是否可用:开启=1 关闭=0")
	@TableField(value="enabled")
	private Long enabled;
	@ApiModelProperty(value = "数据版本字段")
	@TableField(value="version_id")
	@Version
	private Integer version_id;

 
	public Integer getDiscount_off_id() {
		return discount_off_id;
	}
	public void setDiscount_off_id(Integer discount_off_id) {
		this.discount_off_id = discount_off_id;
	}
 
	public Integer getOc_id() {
		return oc_id;
	}
	public void setOc_id(Integer oc_id) {
		this.oc_id = oc_id;
	}
 
	public Integer getShop_id() {
		return shop_id;
	}
	public void setShop_id(Integer shop_id) {
		this.shop_id = shop_id;
	}
 
	public BigDecimal getFull_money() {
		return full_money;
	}
	public void setFull_money(BigDecimal full_money) {
		this.full_money = full_money;
	}
 
	public BigDecimal getOff_money() {
		return off_money;
	}
	public void setOff_money(BigDecimal off_money) {
		this.off_money = off_money;
	}
 
	public Integer getTime_type() {
		return time_type;
	}
	public void setTime_type(Integer time_type) {
		this.time_type = time_type;
	}
 
	public Timestamp getStart_time() {
		return start_time;
	}
	public void setStart_time(Timestamp start_time) {
		this.start_time = start_time;
	}
 
	public Timestamp getEnd_time() {
		return end_time;
	}
	public void setEnd_time(Timestamp end_time) {
		this.end_time = end_time;
	}
 
	public Timestamp getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}
 
	public Long getEnabled() {
		return enabled;
	}
	public void setEnabled(Long enabled) {
		this.enabled = enabled;
	}
 
	public Integer getVersion_id() {
		return version_id;
	}
	public void setVersion_id(Integer version_id) {
		this.version_id = version_id;
	}

}